<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>module-nvidia390</Name>
        <Homepage>http://www.nvidia.com</Homepage>
        <Packager>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Packager>
        <License>NVIDIA</License>
        <Icon>nvidia</Icon>
        <Summary>NVIDIA drivers for GeForce 6xxx and newer GPUs</Summary>
        <Description>NVIDIA graphics drivers provide optimized 2D/3D performance.</Description>
        <Archive sha1sum="0acb526462f7fda95983556a2e13cb2a30a89c1e" type="binary">http://http.download.nvidia.com/XFree86/Linux-x86/390.154/NVIDIA-Linux-x86-390.154.run</Archive>
        <Archive sha1sum="b0aaa0ef9cabee71b463c170504d39f4c3763d58" type="binary">http://http.download.nvidia.com/XFree86/Linux-x86_64/390.154/NVIDIA-Linux-x86_64-390.154.run</Archive>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="dkms.conf">dkms.conf</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="kernel-5.14-pdev.patch">kernel-5.14-pdev.patch</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="kernel-5.14-state.patch">kernel-5.14-state.patch</AdditionalFile>
        </AdditionalFiles>
        <BuildDependencies>
            <Dependency version="5.15.102">kernel-module-headers</Dependency>
            <Dependency>libX11-devel</Dependency>
            <Dependency>gtk2-devel</Dependency>
            <Dependency>gtk3-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>module-nvidia390</Name>
        <IsA>driver</IsA>
        <Summary>Kernel module for current NVIDIA graphics driver releases</Summary>
        <RuntimeDependencies>
            <Dependency version="5.15.102">kernel</Dependency>
<!--             <Dependency release="current">module-nvidia-current-userspace</Dependency> -->
        </RuntimeDependencies>
        <Files>
            <Path fileType="library" permanent="true">/lib/modules</Path>
            <Path fileType="data">/etc/modprobe.d</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/etc/modprobe.d/blacklist-nouveau.conf">modprobe.conf</AdditionalFile>
        </AdditionalFiles>
        <BuildFlags>
            <Flag>noDelta</Flag>
        </BuildFlags>
        <Conflicts>
            <Package>nvidia390-dkms</Package>
        </Conflicts>
    </Package>

    <Package>
        <Name>nvidia-xconfig390</Name>
        <IsA>app:console</IsA>
        <PartOf>hardware.graphics</PartOf>
        <Summary>Xconfig file for nvidia390 kernel driver</Summary>
        <RuntimeDependencies>
            <AnyDependency>
                <Dependency version="current">module-nvidia390</Dependency>
                <Dependency>nvidia390-dkms</Dependency>
            </AnyDependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/nvidia-xconfig</Path>
            <Path fileType="man">/usr/share/man/man1/nvidia-xconfig.1</Path>
        </Files>
    </Package>

    <Package>
        <Name>xorg-video-nvidia390</Name>
        <IsA>driver</IsA>
        <RuntimeDependencies>
            <Dependency>libXext</Dependency>
            <Dependency>libX11</Dependency>
            <Dependency>mesa</Dependency>
            <Dependency>xorg-server</Dependency>
            <Dependency>vulkan</Dependency>
            <Dependency>opencl-icd</Dependency>
            <Dependency>libglvnd</Dependency>
            <AnyDependency>
                <Dependency version="current">module-nvidia390</Dependency>
                <Dependency>nvidia390-dkms</Dependency>
            </AnyDependency>
        </RuntimeDependencies>
        <Conflicts>
            <Package>xorg-video-nvidia-current</Package>
            <Package>xorg-video-nvidia304</Package>
            <Package>xorg-video-nvidia340</Package>
        </Conflicts>
        <Files>
            <Path fileType="data">/etc/OpenCL</Path>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="data">/usr/share/X11</Path>
            <Path fileType="data">/usr/share/nvidia390</Path>
            <Path fileType="data">/usr/share/pixmaps</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
        <BuildFlags>
            <Flag>noDelta</Flag>
        </BuildFlags>
        <Provides>
            <COMAR script="package.py">System.Package</COMAR>
        </Provides>
    </Package>

    <Package>
        <Name>xorg-video-nvidia390-32bit</Name>
        <PartOf>emul32</PartOf>
        <Summary>32-bit shared libraries for xorg-video-nvidia390</Summary>
        <BuildType>emul32</BuildType>
        <BuildDependencies>
            <Dependency>libvdpau-32bit</Dependency>
        </BuildDependencies>
        <RuntimeDependencies>
            <Dependency>zlib-32bit</Dependency>
            <Dependency>mesa-32bit</Dependency>
            <Dependency>libX11-32bit</Dependency>
            <Dependency>libXext-32bit</Dependency>
            <Dependency>opencl-icd-32bit</Dependency>
            <Dependency>vulkan-32bit</Dependency>
            <Dependency>libglvnd-32bit</Dependency>
            <Dependency release="current">xorg-video-nvidia390</Dependency>
            <Dependency>atk</Dependency>
            <Dependency>gtk2</Dependency>
            <Dependency>gtk3</Dependency>
            <Dependency>cairo</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>pango</Dependency>
            <Dependency>gdk-pixbuf</Dependency>
        </RuntimeDependencies>
        <Conflicts>
            <Package>xorg-video-nvidia-current-32bit</Package>
            <Package>xorg-video-nvidia304-32bit</Package>
            <Package>xorg-video-nvidia340-32bit</Package>
        </Conflicts>
        <Files>
            <Path fileType="library">/usr/lib32</Path>
            <Path fileType="library">/usr/share/nvidia390/32bit-ld.so.conf</Path>
        </Files>
        <BuildFlags>
            <Flag>noDelta</Flag>
        </BuildFlags>
    </Package>

    <Package>
        <Name>nvidia390-dkms</Name>
        <IsA>driver</IsA>
        <Summary>NVIDIA driver sources for linux</Summary>
        <RuntimeDependencies>
            <Dependency>dkms</Dependency>
            <Dependency>xorg-video-nvidia390</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc/modprobe.d/nvidia390-dkms.conf</Path>
            <Path fileType="data">/usr/src/nvidia*</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/etc/modprobe.d/nvidia390-dkms.conf">modprobe.conf</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/usr/share/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf">xorg.conf</AdditionalFile>
        </AdditionalFiles>
        <BuildFlags>
            <Flag>noDelta</Flag>
        </BuildFlags>
        <Conflicts>
            <Package>module-nvidia390</Package>
            <Package>nvidia340-dkms</Package>
            <Package>nvidia430-dkms</Package>
            <Package>nvidia-current-dkms</Package>
            <Package>nvidia390</Package>
        </Conflicts>
    </Package>

    <Package>
        <Name>nvidia390</Name>
        <IsA>driver</IsA>
        <Summary>Meata package for nvidia390 drivers</Summary>
        <RuntimeDependencies>
            <Dependency>module-nvidia390</Dependency>
            <Dependency>xorg-video-nvidia390</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="data">/var/tmp/nvidia</Path>
        </Files>
        <BuildFlags>
            <Flag>noDelta</Flag>
        </BuildFlags>
        <Conflicts>
            <Package>nvidia390-dkms</Package>
        </Conflicts>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/var/tmp/nvidia">nvidia.txt</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <History>
        <Update release="39">
            <Date>2023-03-15</Date>
            <Version>390.154</Version>
            <Comment>Revuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="38">
            <Date>2023-03-02</Date>
            <Version>390.154</Version>
            <Comment>Revuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="37">
            <Date>2023-02-01</Date>
            <Version>390.154</Version>
            <Comment>Revuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="36">
            <Date>2023-01-03</Date>
            <Version>390.154</Version>
            <Comment>Revuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="35">
            <Date>2022-12-07</Date>
            <Version>390.154</Version>
            <Comment>Revuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="34">
            <Date>2022-10-22</Date>
            <Version>390.154</Version>
            <Comment>Revuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="33">
            <Date>2022-09-12</Date>
            <Version>390.154</Version>
            <Comment>Revuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="32">
            <Date>2022-08-17</Date>
            <Version>390.154</Version>
            <Comment>Revuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="31">
            <Date>2022-08-06</Date>
            <Version>390.154</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="30">
            <Date>2022-07-22</Date>
            <Version>390.144</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="29">
            <Date>2022-06-25</Date>
            <Version>390.144</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="28">
            <Date>2022-05-22</Date>
            <Version>390.144</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="27">
            <Date>2022-04-15</Date>
            <Version>390.144</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="26">
            <Date>2022-03-23</Date>
            <Version>390.144</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="25">
            <Date>2022-01-31</Date>
            <Version>390.144</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="24">
            <Date>2022-01-15</Date>
            <Version>390.144</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="23">
            <Date>2021-12-17</Date>
            <Version>390.144</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="22">
            <Date>2021-11-27</Date>
            <Version>390.144</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="21">
            <Date>2021-11-19</Date>
            <Version>390.144</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="20">
            <Date>2021-11-11</Date>
            <Version>390.144</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="19">
            <Date>2021-09-30</Date>
            <Version>390.143</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="18">
            <Date>2021-09-10</Date>
            <Version>390.143</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="17">
            <Date>2021-08-13</Date>
            <Version>390.143</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="16">
            <Date>2021-06-02</Date>
            <Version>390.143</Version>
            <Comment>Version bump.</Comment>
            <Name>İdris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
        <Update release="15">
            <Date>2021-05-14</Date>
            <Version>390.141</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="14">
            <Date>2021-05-14</Date>
            <Version>390.141</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="13">
            <Date>2021-04-29</Date>
            <Version>390.141</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="12">
            <Date>2021-03-01</Date>
            <Version>390.141</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="11">
            <Date>2021-01-29</Date>
            <Version>390.138</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="10">
            <Date>2020-08-06</Date>
            <Version>390.138</Version>
            <Comment>Add comar script and meta package</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin.bojara@gmail.com</Email>
        </Update>
        <Update release="9">
            <Date>2020-07-05</Date>
            <Version>390.132</Version>
            <Comment>Add comar script and meta package</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin.bojara@gmail.com</Email>
        </Update>
        <Update release="8">
            <Date>2020-06-01</Date>
            <Version>390.132</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="7">
            <Date>2020-04-03</Date>
            <Version>390.132</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal Bojara</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="6">
            <Date>2020-01-31</Date>
            <Version>390.132</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal Bojara</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="5">
            <Date>2020-01-09</Date>
            <Version>390.132</Version>
            <Comment>Add dkms support.</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin.bojara@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2019-12-12</Date>
            <Version>390.132</Version>
            <Comment>First release</Comment>
            <Name>İdris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
    </History>
</PISI>
